<script setup lang="ts">
import { MoreFilled } from '@element-plus/icons-vue'
</script>

<template>
  <div id="main-replay">
    <div class="avatar-area">
      <div style="display: flex; align-items: center; justify-content: center;">
        <slot name="avatar"></slot>
        <h4 style="margin-left: 5px">
          <slot name="publisher"></slot>
        </h4>
        <slot name="identify"></slot>
      </div>
      <slot name="delete"></slot>
    </div>
    <div class="content-area">
      <p class="content">
        <slot name="content"></slot>
      </p>
    </div>
    <div class="info-area">
      <p>
        <slot name="createTime"></slot>
      </p>
    </div>
    <div class="operation-area"></div>
  </div>
</template>

<style scoped>
#main-replay {
  margin: 10px;
  line-height: 1.5em;
}

.avatar-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#avatar {
  overflow: hidden;
  height: 40px;
  width: 40px;
  clip-path: circle(50% at 50% 50%);
}

.content-area {
  margin-top: 20px;
}

.content {
  font-size: 16px;
  font-weight: normal;
  white-space: pre-wrap;
}

.info-area {
  display: flex;
  margin-top: 5px;
}

p {
  font-size: 12px;
  font-weight: bold;
}
</style>
